from tkinter import*
x = int(input())
y = int(input())
n = int(input())
xm = x + 20 * n
ym = y + 30 * n
window = Tk()
window.geometry('500x500')
canvas = Canvas(bg='white', width=250, height=250)
canvas.pack(anchor=CENTER, expand=1)
if 0 <= xm <= 500 and 0 <= ym <= 500:
    canvas.create_polygon((x + 10) * n, (y + 10) * n, (x + 20) * n, \
                      (y + 10) * n, (x + 20) * n, (y + 20) * n, (x + 30) * n, \
                      (y + 20) * n, (x + 30) * n, (y + 40) * n, \
                      (x + 20) * n, (y + 40) * n, (x + 20) * n, (y + 30) * n, \
                      (x + 10) * n, (y + 30) * n, fill='#c4ff85', outline='#ffd363')
else:
    print('Фигура не помещается')
